package com.example.project.entity;

import com.example.project.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table(name = "trole")
public class TRole extends BaseEntity<Integer> {
    @Column(name = "roleName")
    private String roleName;
    @Column(name = "roleCode")
    private String roleCode;
    @Column(name = "isRoot")
    private Integer isRoot;
    @Column(name = "sort")
    private Integer sort;
}
